package com.test4;

import com.alibaba.fastjson.JSONObject;
import org.apache.commons.lang3.StringUtils;

import java.nio.charset.StandardCharsets;

public class ByteChar {

    public static void main(String[] args) {
        String a = " N.123456李召";
        String b = "   .";
        char[] c = a.toCharArray();
        for(char cc:c){
            System.err.println("char:"+cc);
            System.err.println("byte:"+(byte)cc);
            System.err.println("int:"+(int)cc);
            System.err.println("type:"+Character.getType(cc));
            System.err.println("name:"+Character.getName(Character.getType(cc)));

            System.err.println("isLetter:"+Character.isLetter(cc));
            System.err.println("isDigit:"+Character.isDigit(cc));
            System.err.println("isWhitespace:"+Character.isWhitespace(cc));


            System.err.println("-------------------------------");
        }

        JSONObject json = new JSONObject();
        json.put("a",null);
        System.err.println(json.getIntValue("a"));

//        int bb = 16890;
//        char cc = (char) bb;
//        System.err.println(cc);

        //StringUtils.isNotBlank()

    }




}
